package fudan.se.project.controller.request;


import fudan.se.project.domain.conference.production.Writer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PaperSubmitRequest {

    private long id;

    @NotBlank
    private String titleText;

    @NotBlank
    private String abstractText;

    @NotEmpty
    private List<Writer> writers;

    @NotEmpty
    private List<Long> topicIds;

}
